<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h1 style="background-color: gray;color:silver;text-align: center; ;">
	Page Espace Client : ${client.cin}
</h1>
	<h3>Liste des Demande de Reparation Effectue : </h3>
	<table>
		<tr>
			<th>ID Rep</th>
			<th>Date Demande</th>
			<th>Status</th>
			<th>ID Client</th>
			<th>ID Manager</th>
			<th>ID Intervenant</th>
		</tr>
		<c:forEach items="${reparations}" var="R">
			<tr>
				<td>${ R.idDemande}</td>
				<td>${ R.dateReparation}</td>
				<td>${ R.status}</td>
				<td>${ R.client.nom}</td>
				<td>${ R.manager.nom}</td>
				<td>${ R.intervenant.intitule}</td>	
			</tr>
		</c:forEach>
	</table>
	<td><a href="editRep">Creer Reparation</a></td>
	<td><a href="logout">Se deconnecter</a></td>
</body>
</html>